-- card: 5049 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2808 -- name: -- part contents for background part 5 ----- text ----- Next, ResCopy gets a unique ID number, so that it doesn't disturb any existing resources. Now the resource is added, with a new ID number. This won't affect anything, since HyperTalk uses resource names instead of ID's when dealing with XCMD and XFCN resources. Now that the resource has been successfully added, both files are closed, and ResCopy returns control to the HyperTalk button script. The button script calls ResCopy like this for each resource to be pasted into the user's stack. After each resource has been copied, the button script then returns to the destination stack. After returning to the user's stack, which now has the resources pasted into it, the button uses the menubar to delete itself, and then unlocks the screen and message box. -- part contents for background part 7 ----- text ----- 9